<?php

require '../include/connectDB.php';
?>

<ul>  
<?php
$query1 = mysql_query("SELECT  `username`, `password`, `user_detail` FROM `users` " ,$warfarin_db);
while (($row = mysql_fetch_assoc($query1)) !== FALSE) {
echo '<li>',$row['username'], $row['password'], $row['user_detail'], '</li>';
} 
?>
</ul>

<ul>  
<?php
$query2 = mysql_query("SELECT hn, fname FROM patient", $hospital_db);
while (($row = mysql_fetch_assoc($query2)) !== FALSE) {
    echo '<li>',$row['hn'], $row['fname'], '</li>';
} 
?>
</ul>